<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<div id="line" style=""></div>
	<script src="echarts/echarts.js"></script>
	<script>
        //light  dark 无效
		var myChart=echarts.init(document.querySelector('#line'),'dark',{
            width:'500px',
            height:'400px'
        });
       
        myChart.setOption(option)
	</script>
</body>
</html>